const { defineConfig } = require('@vue/cli-service')
const path = require('path')

module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    resolve: {
      alias: {
        '@': path.resolve(__dirname, 'src')
      }
    },
    entry: {
      app: './src/main.ts'
    }
  },
  devServer: {
    port: 8081 // 修改默认端口，避免与后端冲突
  }
}) 